package com.fbee.smartcommunities.service;

import com.fbee.smartcommunities.entity.Advertising;
import com.baomidou.mybatisplus.extension.service.IService;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartResolver;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

/**
 * <p>
 * 轮播图广告表 服务类
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-18
 */
public interface AdvertisingService extends IService<Advertising> {

    Boolean updateImg(Long id, MultipartFile file) throws ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

}
